home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
billutil.zip
/
WINSKIP.ZIP
/
WINSKIP.TXT
< prev
Wrap
Text File
|
1993-11-13
|
2KB
|
38 lines
WINSKIP.EXE
Winskip is a program to be run from your AUTOEXEC.BAT file. It gives
you the chance to skip booting into Windows if you want. A typical use
would be the following:
@ECHO OFF
winskip.exe
if errorlevel 1 goto end
win
:end
This supposes that winskip.exe is in the directory c:\utils. The second
line runs the program. It prompts for a keypress if you want to skip
Windows. If a key is pressed it returns an errorlevel of 1, and then
the third line given above skips the 'win' line (which boots Windows).
If, however, a key isn't pressed while winskip is prompting, it returns an
errorlevel of 0. Thus the third line does nothing, and Windows is run.
Simple installation instructions: Copy winskip.exe to any directory
(say utils), and then use any text editor (like DOS edit) to add lines
similar to the example above to your autoexec.bat file.
Advanced cool feature: Create a file in the root directory of your
C drive named winskip.cfg. In the file put a single number. Then winskip
will read the file and use that number of seconds as the time to wait for
a keypress. By default, if winskip can't find the file it waits 5 seconds.
I presonally use a 3 second time though. NOTE: YOU CAN MAKE THIS FILE
HIDDEN! If you create c:\winskip.cfg, it gets old to always see it in your
root directory. So just hide it by doing the following:
attrib c:\winskip.cfg +h
This will prevent you from seeing it, but winskip will still be able to find
it! (To make it visible to you again just type attrib c:\winskip.cfg -h)
Source is included. It uses floating point arithmetic to compute the
time waited. :-( Possible modifications include a different default time
and different config file location and time.